/**
 * @author Administrator
 * this file is for configuration properties and variables.
 */

/*
 * for athleticFstival.js
 */
///// configuratins
/// change following paramaters depends on environment
var SERVER_NAME = "http://mymixiaf.appspot.com/";
//var APP_ID = "30261";
var APP_ID = "31410";

var FIELD_PLAYER_NUM = 5;
var GAME = 10;
var GAME_NUM = 10;

///// constant number
var PLAYER_ID_PRE = "playerName";
var PICTURE_ID_PRE = "playerPic";
var POINT_ID_PRE = "pointRankName";
var POINT_PRE = "point";
var RANK_ID_PRE = "ranking";
var FIELD_RANK_ID_PRE = "fieldRankName";
var FIELD_TITLE = "fieldTitle";
var FIELD_QUESTION = "fieldQuestion";
var FIELD_ID = "fieldID";
var FIELD_CATEGORY = "fieldCategory";
var STATUS_LIST = "statusList";
var RESULT_LIST = "resultList";
var RESULT_FIELD = "resultFieldTitle";
var HASAPP="hasApp";
var ID = "id";
var NICKNAME = "nickname";
var URL = "url";

///// variables
var _order;
var _gameTime;
var result;
var fieldJSON;
var myID;
var myName;
var myURL;
var gender;
var friendNum;
// boolean: to avoid additional request when shuttle between festival result and personal result 
var requestInfo;
var fieldTitle;
var fieldsList;
var fieldIDList;
var playerIDList;
var resultList;
var playerList;
var playersList;
var playerPointList;
var playerPointSortList;
// string array: IDs of those who has not the application 
var inviteFriendIDs;
var inviteFriendURLs;
var inviteFriendNames;

/*
 * for personalResult.js
 */
//configuration
var NEED_MORE_TIME_PRE = "このコンテンツを表示するにはあと";
var NEED_MORE_TIME_POST = "回お遊びください";
// max number of displaying recent evaluations
var EVALUATION_TABLE_MAX = 5;
var NO_FRIEND = "今はいません";

//variables
var playTime;
var friend_num;

/*
 * for mixiUtil.js
 */
// configuration

var VOICE_MESSAGE = "マイミクを運動会に出しました";
var DIARY_MESSAGE = "マイミクを運動会に出しました";
var ACTIVITY_TITLE = "さんがあなたをマイミク運動会に参加させました。"

//variables
var voiceText;
var diaryText;


